package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.ReceivedCollectionType;
import com.sc.nft.enums.UserEcologyHatchCollectionTypeRecordsEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 用户-生态-孵化-藏品记录表(sc_user_ecology_hatch_collection_records)实体类
 *
 * @author Sun
 * @description 由 Mybatisplus Code Generator 创建
 * @since 2023-10-18 14:32:54
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_user_ecology_hatch_collection_records")
public class UserEcologyHatchCollectionRecords extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;
    /**
     * 用户藏品表id
     */
    private Long userCollectionId;
    /**
     * 生态孵化id
     */
    private Long ecologyHatchId;

    /**
     * 用户孵化记录表id
     */
    private Long userEcologyHatchRecordsId;

    /**
     * 藏品id
     */
    private Long collectionId;
    /**
     * 类型 1:回收 2:销毁
     */
    private UserEcologyHatchCollectionTypeRecordsEnum type;
    /**
     * 藏品名称
     */
    private String collectionName;
    /**
     * 藏品图片
     */
    private String collectionImage;
    /**
     * 藏品编号
     */
    private String numbering;
    /**
     * 类型
     */
    private ReceivedCollectionType oldType;
    /**
     * 购买价
     */
    private BigDecimal buyPrice;

}